﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<System.IO.FileInfo>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    List of Uploaded files.
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Uploaded Files</h2>
    <ol>
        <% foreach (var file in Model)
           {%>
        <li>
            <a href='/FileUploads/<%: file.Name %>'><%: file.Name %></a>
            </li>
        <% } %>
    </ol>
    <p>
        <%: Html.ActionLink("Upload New File", "Upload") %> | 
        <%: Html.ActionLink("Upload Multiple Files", "UploadFiles") %>
    </p>
</asp:Content>
